CVE-2026-25157
OpenClaw/Clawdbot has OS Command Injection via Project Root Path in sshNodeCommand
Description
OpenClaw is a personal AI assistant. Prior to version 2026.1.29, there is an OS command injection vulnerability via the Project Root Path in sshNodeCommand. The sshNodeCommand function constructed a shell script without properly escaping the user-supplied project path in an error message. When the cd command failed, the unescaped path was interpolated directly into an echo statement, allowing arbitrary command execution on the remote SSH host. The parseSSHTarget function did not validate that SSH target strings could not begin with a dash. An attacker-supplied target like -oProxyCommand=... would be interpreted as an SSH configuration flag rather than a hostname, allowing arbitrary command execution on the local machine. This issue has been patched in version 2026.1.29.
INFO
Published Date :
Feb. 4, 2026, 8:16 p.m.
Last Modified :
Feb. 13, 2026, 2:33 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update OpenClaw to version 2026.1.29.
- Apply patches for OpenClaw.
- Validate SSH target strings.
Public PoC/Exploit Available at Github
CVE-2026-25157 has a 27 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-25157.
| URL | Resource |
|---|---|
| https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-25157 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-25157
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
OpenClaw_Security_Auditor
JavaScript Shell TypeScript
Self-check and hardening tools for OpenClaw deployments before public exposure
An OpenClaw Skills utility for self-checking common attack surfaces exposed by improper OpenClaw operations or hallucinations (continuously updated)
Secure Openclaw
JavaScript Shell TypeScript HTML Swift
OpenClaw Security Hardening Guide | OpenClaw AI Agent 安全加固指南 — CVE Analysis, Incident Case Studies, 7-Layer Hardening Framework, Automation Scripts
Shell
全面的安全防护套件,为OpenClaw AI助手提供企业级安全保护
Python Dockerfile HTML TypeScript CSS
Security auditor, CVE scanner, and skill analyzer for OpenClaw gateways
TypeScript JavaScript
Security-hardened AI agent platform addressing OpenClaw/Moltbot vulnerabilities (CVE-2026-25253)
Dockerfile TypeScript JavaScript
Security-first AI agent for WhatsApp. Built as an answer to OpenClaw's architecture.
ai-agent llm openclaw prompt-injection python security typescript whatsapp
Dockerfile Python TypeScript Shell HTML
Tracking OpenClaw CVEs
Python Jinja
None
Dockerfile Shell JavaScript TypeScript Swift HTML CSS Kotlin Ruby Go
None
TypeScript Dockerfile Swift Shell Kotlin Ruby HTML JavaScript Go Python
None
PowerShell Shell
Open-source infrastructure scanner for AI agents. Scan instances, audit skills.
Shell Makefile Python YARA
None
Python Dockerfile Makefile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-25157 vulnerability anywhere in the article.
-
TheCyberThrone
OpenClaw: The Open-Source AI Agent Rewriting the Threat Landscape
What Is OpenClaw?OpenClaw — previously known as Clawdbot (launched November 2025) and then renamed Moltbot after trademark disputes — is an open-source, self-hosted autonomous private AI agent that ru ... Read more
-
The Hacker News
ClawJacked Flaw Lets Malicious Sites Hijack Local OpenClaw AI Agents via WebSocket
OpenClaw has fixed a high-severity security issue that, if successfully exploited, could have allowed a malicious website to connect to a locally running artificial intelligence (AI) agent and take ov ... Read more
-
Kaspersky
Key OpenClaw risks, Clawdbot, Moltbot | Kaspersky official blog
Everyone has likely heard of OpenClaw, previously known as “Clawdbot” or “Moltbot”, the open-source AI assistant that can be deployed on a machine locally. It plugs into popular chat platforms like Wh ... Read more
-
CybersecurityNews
15,200 OpenClaw Control Panels with Full System Access Exposed to the Internet
OpenClaw Control Panels Exposed A critical security failure in the rapidly adopting “agentic AI” ecosystem has left tens of thousands of personal and corporate AI assistants fully exposed to the publi ... Read more
-
The Register
More than 135,000 OpenClaw instances exposed to internet in latest vibe-coded disaster
It's a day with a name ending in Y, so you know what that means: Another OpenClaw cybersecurity disaster. This time around, SecurityScorecard's STRIKE threat intelligence team is sounding the alarm ov ... Read more
The following table lists the changes that have been made to the
CVE-2026-25157 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H Added CPE Configuration AND OR *cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* versions up to (excluding) 2026.1.29 OR cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* Added Reference Type GitHub, Inc.: https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585 Types: Vendor Advisory -
New CVE Received by [email protected]
Feb. 04, 2026
Action Type Old Value New Value Added Description OpenClaw is a personal AI assistant. Prior to version 2026.1.29, there is an OS command injection vulnerability via the Project Root Path in sshNodeCommand. The sshNodeCommand function constructed a shell script without properly escaping the user-supplied project path in an error message. When the cd command failed, the unescaped path was interpolated directly into an echo statement, allowing arbitrary command execution on the remote SSH host. The parseSSHTarget function did not validate that SSH target strings could not begin with a dash. An attacker-supplied target like -oProxyCommand=... would be interpreted as an SSH configuration flag rather than a hostname, allowing arbitrary command execution on the local machine. This issue has been patched in version 2026.1.29. Added CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-78 Added Reference https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585